package com.sz.stock.model;

import java.math.BigDecimal;

public class TUser {
    private Integer userid;

    private String username;

    private String userpwd;

    private String userphone;

    private Integer userrole;

    private String usernumberid;

    private BigDecimal userbalance;

    private String userpaypwd;

    public TUser(Integer userid, String username, String userpwd, String userphone, Integer userrole, String usernumberid, BigDecimal userbalance, String userpaypwd) {
        this.userid = userid;
        this.username = username;
        this.userpwd = userpwd;
        this.userphone = userphone;
        this.userrole = userrole;
        this.usernumberid = usernumberid;
        this.userbalance = userbalance;
        this.userpaypwd = userpaypwd;
    }

    public TUser() {
        super();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone == null ? null : userphone.trim();
    }

    public Integer getUserrole() {
        return userrole;
    }

    public void setUserrole(Integer userrole) {
        this.userrole = userrole;
    }

    public String getUsernumberid() {
        return usernumberid;
    }

    public void setUsernumberid(String usernumberid) {
        this.usernumberid = usernumberid == null ? null : usernumberid.trim();
    }

    public BigDecimal getUserbalance() {
        return userbalance;
    }

    public void setUserbalance(BigDecimal userbalance) {
        this.userbalance = userbalance;
    }

    public String getUserpaypwd() {
        return userpaypwd;
    }

    public void setUserpaypwd(String userpaypwd) {
        this.userpaypwd = userpaypwd == null ? null : userpaypwd.trim();
    }

    @Override
    public String toString() {
        return "TUser{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", userphone='" + userphone + '\'' +
                ", userrole=" + userrole +
                ", usernumberid='" + usernumberid + '\'' +
                ", userbalance=" + userbalance +
                ", userpaypwd='" + userpaypwd + '\'' +
                '}';
    }
}